mkdir data/working
mkdir output
mkdir output/figures
mkdir output/tables
#export PATH=$PATH:/Applications/Stata/StataMP.app/Contents/MacOS
stata-mp -b run code/cleaning/anticipated-persuasion-clean.do &
stata-mp -b run code/cleaning/clean-openended.do &
stata-mp -b run code/cleaning/defund-hypothetical-clean.do &
stata-mp -b run code/cleaning/defund-persuasion-clean.do &
stata-mp -b run code/cleaning/defund-sender-clean.do &
stata-mp -b run code/cleaning/defund-sender-replication-clean.do &
stata-mp -b run code/cleaning/deport-persuasion-clean.do &
stata-mp -b run code/cleaning/rainforest-sender-clean.do &
stata-mp -b run code/cleaning/daylight-sender-clean.do &
stata-mp -b run code/cleaning/clean-pew.do &
stata-mp -b run code/cleaning/receiver-clean.do &
stata-mp -b run code/cleaning/deport-sender-clean.do &
stata-mp -b run code/cleaning/tucker-persuasion-clean.do &
python3 code/analysis/receiver-text-analysis.py
Rscript code/setup-R.R
Rscript code/analysis/load.R 
Rscript code/analysis/twitter-sender-analysis.R 
Rscript code/analysis/twitter-receiver-analysis.R 
Rscript code/analysis/robustness-analysis.R 
Rscript code/analysis/twitter-receiver-word-analysis.R
Rscript code/analysis/persuasion-analysis.R 
Rscript code/analysis/partisan-analysis.R 
Rscript code/analysis/defund-receiver-reweight.R 
Rscript code/analysis/anticipated-sanctions.R 
Rscript code/analysis/marlowe-crowne.R 
Rscript code/analysis/sender-demographic-heterogeneity.R
Rscript code/analysis/sender-reweight-analysis.R 
Rscript code/analysis/twitter-characteristic-analysis.R 
Rscript code/analysis/create-balance-representativeness.R
rm *.log